package com.hxzy.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hxzy.entity.OrderDetail;
import com.hxzy.service.OrderDetailService;
import com.hxzy.mapper.OrderDetailMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 11452
* @description 针对表【order_detail(订单明细表)】的数据库操作Service实现
* @createDate 2023-08-28 11:54:55
*/
@Service
public class OrderDetailServiceImpl extends ServiceImpl<OrderDetailMapper, OrderDetail>
    implements OrderDetailService{

    /**
     * 根据订单号查询详情
     * @param orderId
     * @return
     */
    @Override
    public List<String> findByOrderId(Long orderId) {
        return this.baseMapper.findByOrderId(orderId);
    }
}




